﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LuceneBasedStorage
{
    public class LuceneStorageConfingHelper
    {
        static string storageRootFolder = null;
        public static string StorageRootFolder
        {
            get
            {
                if (string.IsNullOrEmpty(storageRootFolder))
                {
                    storageRootFolder = ConfigurationService.ConfigurationHelper.Get("LuceneBasedStorage.StorageRootFolder");
                }

                return storageRootFolder;
            }

            set
            {
                storageRootFolder = value;
            }

        }

    }
}
